package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 绿地占用信息表 视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "OcaInfo 视图", description = "绿地占用信息表 视图")
public class OcaInfoVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * UUID
     */
    @ApiModelProperty(value = "UUID")
    @Excel(name = "UUID", orderNum = "0")
    private Character ocaId;

    /**
     * 许可证号
     */
    @ApiModelProperty(value = "许可证号")
    @Excel(name = "许可证号", orderNum = "0")
    private String permitCode;

    /**
     * 区域ID
     */
    @ApiModelProperty(value = "区域ID")
    @Excel(name = "区域ID", orderNum = "0")
    private String distractId;

    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    @Excel(name = "区域", orderNum = "0")
    private String distractName;

    /**
     * 街道
     */
    @ApiModelProperty(value = "街道")
    @Excel(name = "街道", orderNum = "0")
    private Character streetId;

    /**
     * 街道名称
     */
    @ApiModelProperty(value = "街道名称")
    @Excel(name = "街道名称", orderNum = "0")
    private String streetName;

    /**
     * 审批方式 可选：1 行政许可、2 备案
     */
    @ApiModelProperty(value = "审批方式 可选：1 行政许可、2 备案")
    @Excel(name = "审批方式 可选：1 行政许可、2 备案", orderNum = "0")
    private Integer auditType;

    /**
     * 占用理由 
     */
    @ApiModelProperty(value = "占用理由 ")
    @Excel(name = "占用理由 ", orderNum = "0")
    private String ocaReason;

    /**
     * 占用地址 
     */
    @ApiModelProperty(value = "占用地址 ")
    @Excel(name = "占用地址 ", orderNum = "0")
    private String ocaAddress;

    /**
     * 占用单位 
     */
    @ApiModelProperty(value = "占用单位 ")
    @Excel(name = "占用单位 ", orderNum = "0")
    private String ocaDept;

    /**
     * 占用面积 临时 
     */
    @ApiModelProperty(value = "占用面积 临时 ")
    @Excel(name = "占用面积 临时 ", orderNum = "0")
    private Float ocaMeasure;

    /**
     * 占用面积 永久 
     */
    @ApiModelProperty(value = "占用面积 永久 ")
    @Excel(name = "占用面积 永久 ", orderNum = "0")
    private Float ocaMeasurePermanent;

    /**
     * 迁移乔木数量
     */
    @ApiModelProperty(value = "迁移乔木数量")
    @Excel(name = "迁移乔木数量", orderNum = "0")
    private Integer moveTreeCnt;

    /**
     * 砍伐乔木数量
     */
    @ApiModelProperty(value = "砍伐乔木数量")
    @Excel(name = "砍伐乔木数量", orderNum = "0")
    private Integer cutTreeCnt;

    /**
     * 许可日期
     */
    @ApiModelProperty(value = "许可日期")
    @Excel(name = "许可日期", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime permitDate;

    /**
     * 有效期至
     */
    @ApiModelProperty(value = "有效期至")
    @Excel(name = "有效期至", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @Excel(name = "修改人", orderNum = "0")
    private Integer dbUpdateId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;


}
